main_menu = {
    "首页": ("xpath", "//*[@id='"),
    "CHITUBOX": ("xpath", "//*[@id='"),
    "材料联盟": ("xpath", "//*[@id='"),
    "学习中心": ("xpath", "//*[@id='"),
    "帮助中心": ("xpath", "//*[@id='"),
    "开发者中心": ("xpath", "//*[@id='"),
    "动态资讯": ("xpath", "//*[@id='"),
    "购买pro": ("xpath", "//*[@id='"),
    "调查问卷": ("xpath", "//*[@id='"),
    "购物车": ("xpath", "//*[@id='"),
    "个人中心": ("xpath", "//*[@id='"),
    "简体中文": ("xpath", "//*[@id='")
}
login_page = {
    "url": "https://cc.chitubox.com/login",
    "agree_cookie": ("xpath", "//*[@id='agree-term-btn']"),
    "account": ("xpath", "//*[@id='account']"),
    "pwd": ("xpath", "//*[@id='password']"),
    "remember_account": ("xpath",
                         "/html/body/app-root/app-layout/div/section/div/div/"
                         "app-login/div/div/app-login-form-dialog/form/div[2]/div[2]/div[1]/label/span[1]/input"),
    "login": ("xpath",
              "/html/body/app-root/app-layout/div/section/div/div"
              "/app-login/div/div/app-login-form-dialog/form/div[2]/div[3]/button")
}
register_page = {
    "url": "https://cc.chitubox.com/register",
    "agree_cookie": ("xpath", "//*[@id='agree-term-btn']"),
    "account": ("xpath", "//*[@id='account']"),
    "pwd": ("xpath", "//*[@id='password']"),
    "pwd_confirm": ("xpath", "//*[@id='confirmPassword']"),
    "注册类型": ("xpath",
                 "/html/body/app-root/app-layout/div/section/div/div/app-register/div/div"
                 "/app-register-form-dialog/form/div[2]/nz-form-item[2]/nz-form-control/div"
                 "/div/nz-select/nz-select-top-control/nz-select-search/input"),
    "个人": ("xpath", "//*[@id='confirmPassword']"),
    "企业": ("xpath", "//*[@id='confirmPassword']"),
    "教育机构": ("xpath", "//*[@id='confirmPassword']"),
    "verify_code": ("xpath",
                    "/html/body/app-root/app-layout/div/section/div/div/app-register"
                    "/div/div/app-register-form-dialog/form/div[2]/nz-form-item[4]/nz-form-control/div/div/div/div[2]/img")
}
